<?php

require_once 'adodb/adodb.inc.php';

class dalConexion {

	static function getConexion(){
			try{
					$conexion= ADONewConnection("Mysql");
					$conexion->Connect("localhost","root","","inocom");
				return $conexion;
			}catch (Exception  $e){
					echo $e->getMessage();
			}	
			return null;	
	}
}

?>